package com.framework.shs.commom.listener;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;

import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.WebApplicationContext;

public class ComonListener extends ContextLoaderListener {
	 
	@Override
	public void contextDestroyed(ServletContextEvent event) {
		System.out.println("==================stop==================");
		super.contextDestroyed(event);
	}

	@Override
	public WebApplicationContext initWebApplicationContext(
			ServletContext servletContext) {
		System.out.println("=========================================");
		System.out.println("========== Wellcome To Test =============");
		System.out.println("Copyright ©2012-2016 - Powered By Sharker V1.0");
		System.out.println("========================================");
		return super.initWebApplicationContext(servletContext);
	}

	
}
